package com.wty.gw.model.Do;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "buss_news")
public class NewsDO implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="id", unique = true, nullable = false)
	private Long id;
	//公司主键
	@Column(name="company_id")
	private Integer companyId;
	//标题
	@Column(name="title")
	private String title;
	//推广关键字
	@Column(name="search_keys")
	private String searchKeys;
	//缩略图
	@Column(name="img_thum")
	private String imgThum;
	//内容
	@Column(name="content")
	private String content;
	//创建人
	@Column(name="creater")
	private Long creater;
	//创建时间
	@Column(name="create_time")
	private java.util.Date createTime;
	//更新人
	@Column(name="updator")
	private Long updator;
	//更新时间
	@Column(name="update_time")
	private java.util.Date updateTime;
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	public String getSearchKeys() {
		return this.searchKeys;
	}

	public void setSearchKeys(String searchKeys) {
		this.searchKeys = searchKeys;
	}
	public String getImgThum() {
		return this.imgThum;
	}

	public void setImgThum(String imgThum) {
		this.imgThum = imgThum;
	}
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public Long getCreater() {
		return this.creater;
	}

	public void setCreater(Long creater) {
		this.creater = creater;
	}
	public java.util.Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	public Long getUpdator() {
		return this.updator;
	}

	public void setUpdator(Long updator) {
		this.updator = updator;
	}
	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
}